<!-- 图标二级页面 -->
<template>
	<view>
		<view class="header">
			<view style="width: 750rpx;height: 40rpx;background: #ffffff;"></view>
			<view class="title">
				<view style="display:flex;align-items:center;width: 88rpx;
				height: 88rpx;">
					<image src="/static/iconfont/arrow-left-bold.png" mode="aspectFill" @click="$win.back()"></image>
				</view>
				<text>{{title}}</text>
			</view>
		</view>
		<view class="body">
			<view class="list" v-for="(item,index) in lists" :key="index" @click="$win.show('l2/l2?title='+item.text)">
				<view class="content">
					<image :src="item.pic" mode="aspectFill"></image>
					<text>{{item.text}}</text>
				</view>
				<view class="num">
					<text>{{item.num}}</text>
					<image src="/static/iconfont/right.webp" mode="aspectFill"></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title:'',
				lists: [{
						text: '禁止标志',
						num: 50,
						pic: '/static/user/study/1.webp',
					},
					{
						text: '警告标志',
						num: 50,
						pic: '/static/user/study/2.webp',
					},
					{
						text: '指示标志',
						num: 50,
						pic: '/static/user/study/3.webp',
					},
					{
						text: '指路标志',
						num: 63,
						pic: '/static/user/study/4.webp',
					},
					{
						text: '旅游区标志',
						num: 78,
						pic: '/static/user/study/1.webp',
					},
					{
						text: '道路施工安全标志',
						num: 59,
						pic: '/static/user/study/1.webp',
					},
				]
			}
		},
		methods: {

		},
		onLoad(option) {
			console.log(option)
			this.title=option.title
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #f2f3f5;
	}

	.title {
		display: flex;
		align-items: center;
		width: 750rpx;
		height: 88rpx;
		background: #ffffff;

		text {
			font-size: 34rpx;
			font-family: Source Han Sans CN, Source Han Sans CN-Regular;
			font-weight: 400;
			text-align: left;
			color: #333333;

		}

		image {
			width: 22rpx;
			height: 37rpx;
			margin-left: 28rpx;
		}
	}

	.body {
		display: flex;
		flex-direction: column;
		width: 750rpx;

		.list {
			display: flex;
			flex-direction: row;
			align-items: center;
			justify-content: space-between;
			width: 750rpx;
			height: 140rpx;
			box-sizing: border-box;
			padding: 0 30rpx;
			background: #ffffff;

			.content {
				display: flex;
				flex-direction: row;
				align-items: center;

				image {
					width: 80rpx;
					height: 80rpx;
				}

				;

				text {
					margin-left: 20rpx;
					font-size: 32rpx;
					font-family: Source Han Sans CN, Source Han Sans CN-Regular;
					font-weight: 400;
					text-align: left;
					color: #333333;
				}
			}

			;

			.num {
				display: flex;
				flex-direction: row;
				align-items: center;

				text {
					font-size: 24rpx;
					font-family: Source Han Sans CN, Source Han Sans CN-Regular;
					font-weight: 400;
					text-align: right;
					color: #c1c1c1;
				}

				;

				image {
					width: 17rpx;
					height: 17rpx;
				}
			}
		}
	}
</style>
